\doxysection{task\+ENTER\+\_\+\+CRITICAL }
\hypertarget{group__task_e_n_t_e_r___c_r_i_t_i_c_a_l}{}\label{group__task_e_n_t_e_r___c_r_i_t_i_c_a_l}\index{taskENTER\_CRITICAL@{taskENTER\_CRITICAL}}
task. h

Macro to mark the start of a critical code region. Preemptive context switches cannot occur when in a critical region.

NOTE\+: This may alter the stack (depending on the portable implementation) so must be used with care! 